package com.town.garden.constant;

/**
 * @Description 系统统用全局常量类
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/5/13
 */
public interface GlobalConstant {
    /**
     * https 前缀常量
     */
    String HTTPS_PREFIX = "https://";
    /**
     * http 前缀常量
     */
    String HTTP_PREFIX = "http://";
    /**
     * 冒号符号常量字符串
     */
    String COLON = ":";

    /**
     * nvr 登录接口返回认证信息key
     */
    String SET_COOKIE = "Set-cookie";

    /***
     * nvr 登录 csrftoken key
     */
    String X_CSRF_TOKEN = "X-csrftoken";

    /**
     * nvr告警事件时间格式
     */
    String NVR_ALARM_TIME_FORMAT = "MM/dd/yyyy HH:mm:ss";
    /**
     * 通道前缀名称
     */
    String CHANNEL_PREFIX_NAME = "CH";
    /**
     * 告警事件redis队列key
     */
    String ALARM_EVENT_KEY = "ALARM_EVENT_KEY";

    /**
     * mp4后缀
     */
    String VEDIO_PERFIX_NAME = ".mp4";

    /**
     * 文件目录 /
     */
    String FIL_DIRECTORY_PREFIX = "/";
    /**
     * 拼接符号
     */
    String BAR = "-";
    /**
     * 封面图后缀
     */
    String IMAGE_PERFIX_NAME = ".jpg";

    /**
     * 撤销布控监听主题
     */
    String RECEIVED_DOWN_NVR_DEL = "receive_nvr_del";
    String RECEIVED_DOWN_HA_DEL = "receive_ha_del";
    String RECEIVED_DOWN_MP_DEL = "receive_mp_del";

    /**
     * nvr 下发主题是否下发成功
     */
    String RECEIVED_DOWN_NVR = "receive_nvr";
    /**
     * 数据拼接符号
     */
    String SPLIC_STR = "|";
    /**
     * 推送给puslar 视频直播信息topic key
     */
    String VIDEO_URL_INFO = "product";
    /**
     * 推送puslar告警信息 topic key
     */
    String ALARM_EVENT_VIDEO = "alarmEventVideo";
}
